package model

import "gorm.io/gorm"

type QuestionBankAcc struct {
	gorm.Model
	QuestionBankId uint `gorm:"type:bigint;comment:题库id;not null;column:question_bank_id;"`
	QuestionId     uint `gorm:"type:bigint;comment:题目id;not null;column:question_id;"`
}

func (QuestionBankAcc) TableName() string {
	return "question_bank_acc"
}
func (QuestionBankAcc) TableComment() string {
	return "题目-题库 关联表"
}
